package com.ruoyi.business.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 用户券码对象 biz_people_coupon
 * 
 * @author ruoyi
 * @date 2024-06-19
 */
@Data
public class BizPeopleCouponExport
{


    @Excel(name = "居民")
    private String peopleName;

    /** 社区 */
    @Excel(name = "社区")
    private String communityName;

    /** 优惠券标题 */
    @Excel(name = "优惠券")
    private String title;



    /** 类型 0:满减,1:打折券,2:兑换券 */
    @Excel(name = "券类型")
    private String couponTypeText;
    @Excel(name = "使用规则")
    private String rule;

    /** 券有效期: 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "券有效期: 开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private LocalDateTime start;

    /** 券有效期：结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "券有效期：结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private LocalDateTime end;

    /** 0：待使用，1：已使用 */
    @Excel(name = "使用状态")
    private String statusText;

    /** 核销码 */
    @Excel(name = "核销码")
    private String verificationCode;

    /** 核销门店 */
    @Excel(name = "核销门店")
    private String verificationStore;

    /** 核销时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "核销时间", width = 30, dateFormat = "yyyy-MM-dd")
    private LocalDateTime verificationTime;

    /** 兑换时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "兑换时间", width = 30, dateFormat = "yyyy-MM-dd")
    private LocalDateTime receivedTime;

    /** 兑换消耗的积分 */
    @Excel(name = "兑换消耗的积分")
    private String score;

}
